<!DOCTYPE html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml" xmlns:v-model="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../../js/vue/vue.js"></script>
</head>
<body>
<div id="app">
    <!--需求:  有age变量,如果age>18 显示欢迎光临,age<18陪同观看 ,=18 无所谓-->
    <span v-if="age > 18 ">显示欢迎光临</span>
    <span v-else-if="age < 18 ">陪同观看</span>
    <span v-else>无所谓</span>
</div>
<script>

    var app = new Vue({
        el:'#app',
        data:{
           age:90
        }
    })
</script>
</body>
</html>